package com.xr.maintain.entity.mysql;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import org.apache.ibatis.type.Alias;

import java.util.Date;

/**
 * Created on 2021/6/7
 * @author qiao
 * @Desc:
 */
@TableName("tb_basic_dic_info")
@Getter
@Setter
@EqualsAndHashCode
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Alias("basicDicInfo")
public class BasicDicInfo {
    @TableId(value = "id",type = IdType.INPUT)
    private Long id;
    @TableField("parent_id")
    private Long parentId;
    @TableField("dic_demo")
    private String dicDemo;
    @TableField("dic_key")
    private String dicKey;
    @TableField("dic_value")
    private String dicValue;
    @TableField("dic_desc")
    private String dicDesc;
    @TableField("index_no")
    private int indexNo;
    @TableField("create_time")
    private Date createTime;
    @TableField("status")
    private int status;

}
